package sanshi.contect.factorymethod.vehicle;

import sanshi.contect.factorymethod.Car;
import sanshi.contect.factorymethod.Plane;

/**
 * 简单工厂的可扩展性小
 */
public class SimpleVehicleFactory {

    public Car createCar(){
        //Before Processing
        return new Car();
    }

    public Plane createPlane(){
        //Before Processing
        return new Plane();
    }
}
